﻿using System;
using System.Drawing;
using System.Windows.Forms;
using Shell.Events;

namespace Shell
{
    public interface IView
    {
        Guid Id { get; set; }
        string Name { get; }
        string Caption { get; }
        Form MdiParent { get; set; }
        event EventHandler<EventArg<string>> StatusChanged;
        event EventHandler<AlertEventArgs> AlertChanged; 
        void OnNew();
        void OnSave();
        void OnRefresh();
        event EventHandler Closed;
        void Show();
        event EventHandler Activated;
        void Close();
        void OnDelete();
        void OnSearch();
    }
}